package com.petAdoption.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王倩茹
 * @since 2023-09-06
 */
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车编号
     */
    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 购物车商品
     */
    private Integer carProduct;

    /**
     * 购物车商品数量
     */
    private Integer carCount;

    /**
     * 购物车用户
     */
    private Integer carUser;

    /**
     * 购物车状态
     */
    private Byte carStatus;

    /**
     * 购物车删除
     */
    private Byte carDelete;

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getCarProduct() {
        return carProduct;
    }

    public void setCarProduct(Integer carProduct) {
        this.carProduct = carProduct;
    }

    public Integer getCarCount() {
        return carCount;
    }

    public void setCarCount(Integer carCount) {
        this.carCount = carCount;
    }

    public Integer getCarUser() {
        return carUser;
    }

    public void setCarUser(Integer carUser) {
        this.carUser = carUser;
    }

    public Byte getCarStatus() {
        return carStatus;
    }

    public void setCarStatus(Byte carStatus) {
        this.carStatus = carStatus;
    }

    public Byte getCarDelete() {
        return carDelete;
    }

    public void setCarDelete(Byte carDelete) {
        this.carDelete = carDelete;
    }

    @Override
    public String toString() {
        return "Car{" +
            "carId = " + carId +
            ", carProduct = " + carProduct +
            ", carCount = " + carCount +
            ", carUser = " + carUser +
            ", carStatus = " + carStatus +
            ", carDelete = " + carDelete +
        "}";
    }
}
